home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / statplot.doc < prev    next >
Text File  |  1995-03-31  |  2KB  |  36 lines

  1. (Comp.sys.handhelds) 
  2. Item: 508 
  3.   Resp: 4 of 4 by jn163051 at longs.LANCE.ColoState.Edu 
  4. Author: [Joel Nevison] 
  5.   Date: Fri Jun 22 1990 15:14  
  6.  
  7. In article <AaTttXy00Uh741LUMi@andrew.cmu.edu> paul+@andrew.cmu.edu (Paul J. 
  8. Dujmich) writes: 
  9. >I am aware of the fact that the HP-48 can plot expressions and equations, as 
  10. >well as statistical data. How do you plot a series of points, for instance, 
  11. >data collected in a laboratory experiment? I can't seem to find any reference 
  12. >to this type of plotting in the manuals. 
  13. >Paul 
  14.  
  15. Surprisingly HP didn't make a way to do this in the 28 or the 48. 
  16. I wrote a program that plots arrays of the form; 
  17. [[123.45] 
  18.  [543.21] 
  19.  [234.56]] 
  20. The array length can be up to the number of pixels horizontally 
  21. on the lcd, 130.   Presumably this program could be extended to 
  22. take advantage of the 48's scrolling capabilities and overcome 
  23. the 130 data points restriction. 
  24.  
  25. About the program:  It looks in the current directory for SDAT where 
  26. S is the sigma symbol (I will use this as a convention), it sets up 
  27. the plotting parameters (PPAR) to scale the lcd for the maximum and 
  28. minimum of the data and the number of data points, then plots the data. 
  29. So, before you run this program your data must be in SDAT and you should 
  30. be in the directory that has SDAT, then EVAL this program.  If you don't 
  31. like the 7 second wait before it clears the lcd you can remove the 7 WAIT 
  32. command at the tail of the program and use 7 FREEZE (but then you'll have 
  33. to hit a key to clear the lcd).    
  34.